package com.treasure.mall.biz.mapstruct;

import com.treasure.mall.biz.entity.module.ModulePO;
import com.treasure.mall.biz.vo.module.ModuleVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 
 * <p>
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.mapstruct
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/8/10 10:31 上午
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * 
 */
@Mapper
public interface ModuleMapStruct {
    ModuleMapStruct INSTANCE = Mappers.getMapper(ModuleMapStruct.class);

    ModuleVO po2vo(ModulePO po);

    List<ModuleVO> pos2vos(List<ModulePO> pos);

}
